package bist.believeinstep.dao;

import java.util.List;

import bist.believeinstep.domain.Audio;
import bist.believeinstep.util.Constant.MediaType;
import bist.believeinstep.util.Constant.State;

public interface AudioDAO {
	
	public boolean create(Audio audio);
	public boolean update(Audio audio);
	public boolean update(int id, MediaType type);
	public boolean update(int id, State state);
	public boolean delete(int id);
	public boolean delete(String code);
	public Audio find(int id);
	public Audio find(String code);
	public List<Audio> find(MediaType type);
	public List<Audio> find(State state);
	public List<Audio> findAll();
	
}
